package com.ooo.ttt.opencvlib.camera;

import android.content.Context;
import android.view.SurfaceHolder;
import android.view.SurfaceView;

public interface CameraLoader {

    void initCamera(Context context);

    void setSurface(SurfaceHolder holder);

    void startPreview();


    void switchCamera();

    void stopCamera();



    void setOnFrameDataListener(OnFrameDataListener listener);


    int getCameraId();
}
